package com.ruoyi.crm.sale.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 客户信息对象 crm_customer
 * 
 * @author ruoyi
 * @date 2021-09-07
 */
public class CrmCustomer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String customerName;

    /** 客户来源 */
    @Excel(name = "客户来源")
    private String customerSource;

    /** 客户描述 */
    private String customerMsg;

    /** 行业 */
    @Excel(name = "行业")
    private String trade;

    /** 地址 */
    private String address;

    /** 客户联系人 */
    @Excel(name = "客户联系人")
    private String customerPerson;

    /** 邮箱 */
    private String mail;

    /** 电话 */
    @Excel(name = "电话")
    private String tel;

    /** 客户网址 */
    private String website;

    /** 客户级别 */
    @Excel(name = "客户级别")
    private String customerLevel;

    /** 经度 */
    private String lng;

    /** 维度 */
    private String lat;

    /** 收藏、置顶--预留字段 */
    private String store;

    /** 客户状态 1：正常 2：锁定 3：删除 */
    private String customerStatus;

    /** 负责人 */
    @Excel(name = "负责人")
    private Long leader;

    /** 下次联系时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "下次联系时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date nextTime;

    /** 最后跟进时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "最后跟进时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date lastTime;

    /** 最后跟进记录 */
    @Excel(name = "最后跟进记录")
    private String lastCon;

    /** 附件 */
    private String annex;

    /** 成交次数 */
    @Excel(name = "成交次数")
    private Long dealCount;

    /** 最后成交时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "最后成交时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date lastDealTime;

    /** 预留字段 */
    private String yl1;

    /** 预留字段 */
    private String yl2;

    /** 预留字段 */
    private String yl3;
    
    /** 创建者名称 */
    private String createByName;
    
    /** 更信任名称 */
    private String updateByName;

    /** 负责人名称 */
    @Excel(name = "负责人名称")
    private String leaderName;

    /** 是否公海客户 1：不是 2：是 */
    private Long isHighSeas;

    public Long getIsHighSeas() {
		return isHighSeas;
	}

	public void setIsHighSeas(Long isHighSeas) {
		this.isHighSeas = isHighSeas;
	}

	public String getLeaderName() {
		return leaderName;
	}

	public void setLeaderName(String leaderName) {
		this.leaderName = leaderName;
	}

	public String getCreateByName() {
		return createByName;
	}

	public void setCreateByName(String createByName) {
		this.createByName = createByName;
	}

	public String getUpdateByName() {
		return updateByName;
	}

	public void setUpdateByName(String updateByName) {
		this.updateByName = updateByName;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCustomerName(String customerName) 
    {
        this.customerName = customerName;
    }

    public String getCustomerName() 
    {
        return customerName;
    }
    public void setCustomerSource(String customerSource) 
    {
        this.customerSource = customerSource;
    }

    public String getCustomerSource() 
    {
        return customerSource;
    }
    public void setCustomerMsg(String customerMsg) 
    {
        this.customerMsg = customerMsg;
    }

    public String getCustomerMsg() 
    {
        return customerMsg;
    }
    public void setTrade(String trade) 
    {
        this.trade = trade;
    }

    public String getTrade() 
    {
        return trade;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setCustomerPerson(String customerPerson) 
    {
        this.customerPerson = customerPerson;
    }

    public String getCustomerPerson() 
    {
        return customerPerson;
    }
    public void setMail(String mail) 
    {
        this.mail = mail;
    }

    public String getMail() 
    {
        return mail;
    }
    public void setTel(String tel) 
    {
        this.tel = tel;
    }

    public String getTel() 
    {
        return tel;
    }
    public void setWebsite(String website) 
    {
        this.website = website;
    }

    public String getWebsite() 
    {
        return website;
    }
    public void setCustomerLevel(String customerLevel) 
    {
        this.customerLevel = customerLevel;
    }

    public String getCustomerLevel() 
    {
        return customerLevel;
    }
    public void setLng(String lng) 
    {
        this.lng = lng;
    }

    public String getLng() 
    {
        return lng;
    }
    public void setLat(String lat) 
    {
        this.lat = lat;
    }

    public String getLat() 
    {
        return lat;
    }
    public void setStore(String store) 
    {
        this.store = store;
    }

    public String getStore() 
    {
        return store;
    }
    public void setCustomerStatus(String customerStatus) 
    {
        this.customerStatus = customerStatus;
    }

    public String getCustomerStatus() 
    {
        return customerStatus;
    }
    public void setLeader(Long leader) 
    {
        this.leader = leader;
    }

    public Long getLeader() 
    {
        return leader;
    }
    public void setNextTime(Date nextTime) 
    {
        this.nextTime = nextTime;
    }

    public Date getNextTime() 
    {
        return nextTime;
    }
    public void setLastTime(Date lastTime) 
    {
        this.lastTime = lastTime;
    }

    public Date getLastTime() 
    {
        return lastTime;
    }
    public void setLastCon(String lastCon) 
    {
        this.lastCon = lastCon;
    }

    public String getLastCon() 
    {
        return lastCon;
    }
    public void setAnnex(String annex) 
    {
        this.annex = annex;
    }

    public String getAnnex() 
    {
        return annex;
    }
    public void setDealCount(Long dealCount) 
    {
        this.dealCount = dealCount;
    }

    public Long getDealCount() 
    {
        return dealCount;
    }
    public void setLastDealTime(Date lastDealTime) 
    {
        this.lastDealTime = lastDealTime;
    }

    public Date getLastDealTime() 
    {
        return lastDealTime;
    }
    public void setYl1(String yl1) 
    {
        this.yl1 = yl1;
    }

    public String getYl1() 
    {
        return yl1;
    }
    public void setYl2(String yl2) 
    {
        this.yl2 = yl2;
    }

    public String getYl2() 
    {
        return yl2;
    }
    public void setYl3(String yl3) 
    {
        this.yl3 = yl3;
    }

    public String getYl3() 
    {
        return yl3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("customerName", getCustomerName())
            .append("customerSource", getCustomerSource())
            .append("customerMsg", getCustomerMsg())
            .append("trade", getTrade())
            .append("address", getAddress())
            .append("customerPerson", getCustomerPerson())
            .append("mail", getMail())
            .append("tel", getTel())
            .append("website", getWebsite())
            .append("customerLevel", getCustomerLevel())
            .append("lng", getLng())
            .append("lat", getLat())
            .append("store", getStore())
            .append("customerStatus", getCustomerStatus())
            .append("leader", getLeader())
            .append("nextTime", getNextTime())
            .append("lastTime", getLastTime())
            .append("lastCon", getLastCon())
            .append("annex", getAnnex())
            .append("dealCount", getDealCount())
            .append("lastDealTime", getLastDealTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("yl1", getYl1())
            .append("yl2", getYl2())
            .append("yl3", getYl3())
            .toString();
    }
}
